/*
 * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.center.dao;

import java.util.List;

import com.sinodata.bsm.center.bean.Page;
import com.sinodata.bsm.common.vo.ResView;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author dongyushi
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-5-21 下午1:29:23          dongyushi        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public interface ResViewDao {

    /**
     * 分页查询
     * 
     * @param page
     * @return
     */
    public Page<ResView> findByPage(Page<ResView> page);

    /**
     * 批量删除
     * 
     * @param ids
     */
    public void batchDelete(Long[] ids);

    public List<Long> findChildByViewId(Long viewId, List<Long> privilegeRess);

    public Long findMotiResType(Long resTypeId);

}